package org.dromara.tearoom.domain.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.tearoom.domain.TerHornEquipment;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

import java.time.LocalDateTime;

/**
 * 喇叭设备管理业务对象 ter_horn_equipment
 *
 * @author xch
 * @date 2025-04-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TerHornEquipment.class, reverseConvertGenerate = false)
public class TerHornEquipmentBo extends BaseEntity {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /**
     * 设备名称
     */
    private String deviceName;

    /**
     * 设备编号
     */
    private String deviceNo;

    /**
     * 自动播报描述
     */
    private String descriptionAuto;

    /**
     * 立即播报描述
     */
    private String descriptionIdly;

    /**
     * 设备音速（1-10）
     */
    private Long deviceSpd;

    /**
     * 设备音色（越大越尖锐，越小越低沉）
     */
    private Long devicePit;

    /**
     * 设备音量（1-10）
     */
    private Long deviceVol;

    /**
     * 男声/女声
     */
    private Long devicePer;

    /**
     * 删除标识
     */
    private String delFlag;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long teroomId;
    private String teroomName;
    private String cookieValue;
    private LocalDateTime modifyTime;
    private Integer firstSecn;
    private Integer lastSecn;
}
